﻿<%@ Page Title="添加业主" Language="C#" MasterPageFile="~/PropertyManageMenu.master"
    AutoEventWireup="true" CodeBehind="AddHouseholder.aspx.cs" Inherits="RealtyManagementSystem.Web.RealtyManagers.AddHouseholder" %>

<asp:Content ID="Content1" ContentPlaceHolderID="menuHead" runat="server">
    <script src="../Scripts/navigation.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="menuContent" runat="server">
    <asp:createuserwizard id="CreateUserWizard1" runat="server" displaycancelbutton="True"
        font-names="Verdana" logincreateduser="False" continuedestinationpageurl="~/RealtyManagers/Index.aspx"
        width="720px" oncreateduser="CreateUserWizard1_CreatedUser" onnextbuttonclick="CreateUserWizard1_NextButtonClick"
        createuserbuttontext="创建" onfinishbuttonclick="CreateUserWizard1_FinishButtonClick"
        cancelbuttontext="取消" completesuccesstextstyle-cssclass="change_password_title">
        <ContinueButtonStyle BackColor="White" BorderColor="#C5BBAF" BorderStyle="Solid"
            BorderWidth="1px" Font-Names="Verdana" ForeColor="#2D4C9B" />
        <CreateUserButtonStyle BackColor="White" BorderColor="#A5A5A5" BorderStyle="Solid"
            BorderWidth="1px" Font-Names="Verdana" ForeColor="#2D4C9B" CssClass="creat_realty_user_button create_realty_user_buttons_positon_1" />
        <TitleTextStyle ForeColor="White" />
        <WizardSteps>
            <asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server">
                <ContentTemplate>
                    <div class="realty_font regist_title">
                        添加新业主信息
                    </div>
                    <div class="realty_table">
                        <div class="realty_detail_title">
                            <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" CssClass="realty_font realty_detail_title_font">用户名:</asp:Label>
                        </div>
                        <div class="realty_input_contain">
                            <asp:TextBox ID="UserName" runat="server" CssClass="realty_input"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                ErrorMessage="必须填写“用户名”。" ToolTip="必须填写“用户名”。" ValidationGroup="CreateUserWizard1"
                                CssClass="failureNotification">*</asp:RequiredFieldValidator>
                        </div>
                        <div class="clean">
                        </div>
                    </div>
                    <div class="realty_table">
                        <div class="realty_detail_title">
                            <asp:Label CssClass="realty_font realty_detail_title_font" ID="PasswordLabel" runat="server"
                                AssociatedControlID="Password">密码:</asp:Label>
                        </div>
                        <div class="realty_input_contain">
                            <asp:TextBox CssClass="realty_input" ID="Password" runat="server" TextMode="Password"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                ErrorMessage="必须填写“密码”。" ToolTip="必须填写“密码”。" ValidationGroup="CreateUserWizard1"
                                CssClass="failureNotification">*</asp:RequiredFieldValidator>
                        </div>
                        <div class="clean">
                        </div>
                    </div>
                    <div class="realty_table">
                        <div class="realty_detail_title">
                            <asp:Label CssClass="realty_font realty_detail_title_font" ID="ConfirmPasswordLabel"
                                runat="server" AssociatedControlID="ConfirmPassword">确认密码:</asp:Label>
                        </div>
                        <div class="realty_input_contain">
                            <asp:TextBox CssClass="realty_input" ID="ConfirmPassword" runat="server" TextMode="Password"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="ConfirmPasswordRequired" runat="server" ControlToValidate="ConfirmPassword"
                                ErrorMessage="必须填写“确认密码”。" ToolTip="必须填写“确认密码”。" ValidationGroup="CreateUserWizard1"
                                CssClass="failureNotification">*</asp:RequiredFieldValidator>
                        </div>
                        <div class="clean">
                        </div>
                    </div>
                    <div class="realty_table">
                        <div class="realty_detail_title">
                            <asp:Label CssClass="realty_font realty_detail_title_font" ID="EmailLabel" runat="server"
                                AssociatedControlID="Email">电子邮件:</asp:Label>
                        </div>
                        <div class="realty_input_contain">
                            <asp:TextBox CssClass="realty_input" ID="Email" runat="server"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="Email"
                                ErrorMessage="必须填写“电子邮件”。" ToolTip="必须填写“电子邮件”。" ValidationGroup="CreateUserWizard1"
                                CssClass="failureNotification">*</asp:RequiredFieldValidator>
                        </div>
                        <div class="clean">
                        </div>
                    </div>
                    <div class="realty_table">
                        <div class="realty_input_contain_1">
                            <asp:CompareValidator ID="PasswordCompare" runat="server" ControlToCompare="Password"
                                ControlToValidate="ConfirmPassword" Display="Dynamic" ErrorMessage="“密码”和“确认密码”必须匹配。"
                                ValidationGroup="CreateUserWizard1" CssClass="failureNotification"></asp:CompareValidator>
                        </div>
                        <div class="clean">
                        </div>
                    </div>
                    <div class="realty_table">
                        <div class="realty_input_contain_1 failureNotification">
                            <asp:Literal ID="ErrorMessage" runat="server" EnableViewState="False"></asp:Literal>
                        </div>
                        <div class="clean">
                        </div>
                    </div>
                </ContentTemplate>
            </asp:CreateUserWizardStep>
            <asp:TemplatedWizardStep ID="templateWizardStepHouseInfo" runat="server" Title="住户信息">
                <ContentTemplate>
                    <div class="realty_table">
                        <div class="realty_detail_title_long">
                            <span class="realty_font realty_detail_title_font">楼号：</span></div>
                        <asp:DropDownList ID="ddlBuildingNumber" runat="server" CssClass="select_length">
                        </asp:DropDownList>
                    </div>
                    <div class="realty_table">
                        <div class="realty_detail_title_long">
                            <span class="realty_font realty_detail_title_font">单元：</span></div>
                        <asp:DropDownList ID="ddlUnitNumber" runat="server" CssClass="select_length">
                        </asp:DropDownList>
                    </div>
                    <div class="realty_table">
                        <div class="realty_detail_title_long">
                            <span class="realty_font realty_detail_title_font">门号：</span></div>
                        <asp:DropDownList ID="ddlNumber" runat="server" CssClass="select_length">
                        </asp:DropDownList>
                    </div>
                    <div class="realty_table">
                        <div class="realty_detail_title_long">
                            <span class="realty_font realty_detail_title_font">姓名：</span></div>
                        <asp:TextBox ID="txtName" runat="server" CssClass="select_length"></asp:TextBox>
                    </div>
                    <div class="realty_table">
                        <div class="realty_detail_title_long">
                            <span class="realty_font realty_detail_title_font">电话：</span></div>
                        <asp:TextBox ID="txtPhone" runat="server" CssClass="select_length"></asp:TextBox>
                    </div>
                    <div class="realty_table">
                        <div class="realty_detail_title_long">
                            <span class="realty_font realty_detail_title_font">身份证号：</span></div>
                        <asp:TextBox ID="txtId" runat="server" CssClass="select_length"></asp:TextBox>
                    </div>
                    <div class="realty_table">
                        <div class="realty_detail_title_long">
                            <span class="realty_font realty_detail_title_font">工作单位：</span></div>
                        <asp:TextBox ID="txtCorporation" runat="server" CssClass="select_length"></asp:TextBox>
                    </div>
                    <div class="realty_table">
                        <div class="realty_detail_title_long">
                            <span class="realty_font realty_detail_title_font">其他家庭成员姓名：</span></div>
                        <asp:TextBox ID="txtOtherMembers" runat="server" CssClass="select_length"></asp:TextBox>
                    </div>
                </ContentTemplate>
            </asp:TemplatedWizardStep>
            <asp:CompleteWizardStep runat="server">
            </asp:CompleteWizardStep>
        </WizardSteps>
        <CancelButtonStyle CssClass="creat_realty_user_button create_realty_user_buttons_positon_2"
            ForeColor="#2D4C9B" />
        <HeaderStyle BorderColor="#E6E2D8" BorderStyle="Solid" BorderWidth="2px" Font-Bold="True"
            Font-Size="0.9em" ForeColor="White" HorizontalAlign="Center" />
        <NavigationButtonStyle CssClass="creat_realty_user_button create_realty_user_buttons_positon_3"
            ForeColor="#2D4C9B" BackColor="White" BorderColor="#A5A5A5" BorderStyle="Solid"
            BorderWidth="1px" />
        <SideBarButtonStyle ForeColor="White" />
        <SideBarStyle BackColor="#1C5E55" Font-Size="0.9em" VerticalAlign="Top" />
        <StepStyle BorderWidth="0px" />
    </asp:createuserwizard>
</asp:Content>